package cn.wufuqi.recyclerviewbindingadapter.itemuibean


abstract class BaseDeleteEventBindingAdapterItem: BaseEventBindingAdapterItem() {
    /**
     * 不允许调用
     */
    var mOnPrivate: (() -> Unit)? = null


    /**
     * 删除当前item
     */
    fun delete() {
        mOnPrivate?.invoke()
    }

    override fun destroy() {
        super.destroy()
        mOnPrivate = null
    }
}